import { type Ref, ref, computed } from "vue";
import type { PlusColumn, OptionsRow } from "plus-pro-components";
export function useSearch(pageEnums: Ref<{ [key: string]: OptionsRow[] }>) {
  const searchValues = ref({
    name: "",
    createdDate: ""
  });

  const searchColumns: PlusColumn[] = [
    {
      label: "名称",
      prop: "name"
    }
  ];
  return {
    searchValues,
    searchColumns
  };
}
